package com.flybook.web.controller.tool;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;


@ApiModel(value = "飞书基础消息Model", description = "飞书基础消息JSON对象说明")
public class FlyBookInfo {
    public static final String MEG_TYPE_TEXT = "text";// 文本消息
    public static final String MEG_TYPE_POST = "post";// 富文本消息
    public static final String MEG_TYPE_SHARE_CHAT = "share_chat";// 群名片
    public static final String MEG_TYPE_IMAGE = "image";// 图片
    public static final String MEG_TYPE_INTERACTIVE = "interactive";// 消息卡片

    @ApiModelProperty(name = "atAll", value = "是否通知所有人", required = false, example = "true")
    private String atAll;

    @ApiModelProperty(name = "mobiles", value = "通知人电话数组", required = false)
    private List<String> mobiles;

    @ApiModelProperty(name = "megType", value = "消息类型", required = false, example = "text / markdown")
    private String megType;

    @ApiModelProperty(name = "robotKey", value = "机器人编码", required = true, example = "D-Test-01")
    private String robotKey;

    @ApiModelProperty(name = "content", value = "消息内容", required = true)
    private String content;

    public FlyBookInfo() {
    }

    public List<String> getMobiles() {
        return this.mobiles;
    }

    public void setMobiles(List<String> mobiles) {
        this.mobiles = mobiles;
    }

    public String getMsgType() {
        return this.megType;
    }

    public void setMsgType(String megType) {
        this.megType = megType;
    }

    public String getAtAll() {
        return this.atAll;
    }

    public void setAtAll(String atAll) {
        this.atAll = atAll;
    }

    public String getRobotKey() {
        return this.robotKey;
    }

    public void setRobotKey(String robotKey) {
        this.robotKey = robotKey;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
